/*---------------
        公共样式
    ---------------*/

@charset "UTF-8";

html, body{
    width: 100%;
    height: 100%;
}

body{
    font-family: "Microsoft Yahei","Helvetica Neue",Helvetica,Arial,sans-serif;
    color: #3e3a39;
    background-image: url(../../images/bg_repeat.png);
    background-repeat: repeat;
    overflow-y: scroll; /*解决高度尺寸不确定时，页面闪动的问题*/
}

.wrapper{
    min-height: 100%;
    margin-bottom: -52px;
}

.main-content{
    position: relative;
    max-width: 970px;
    margin: 100px auto 0;
    padding-bottom: 100px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    background-color: #fff;
}

.main-content .main-title{
    margin-bottom: 0;
    padding: 34px 0 40px 146px;
    font-size: 24px;
    color: #2192d5;
}

.main-content .main-title span{
    padding-bottom: 3px;
    letter-spacing: 5px;
    border-bottom: 1px solid #2192d5;
}

.star,
.child,
.planet{
    position: absolute;
}

.star{
    top: -124px;
    left: 0;
    z-index: 1;
}

.star img{
    width: 344px;
    height: 145px;
}

.child{
    top: -36px;
    right: 0;
}

.child img{
    width: 81px;
    height: 46px;
}

.btn-groups{
    overflow: hidden;
}

.btn-groups .btn-submit{
    font-size: 24px;
    background-color: #f6c009;
    color: #fff;
    border-radius: 10px;
}

.btn-groups .btn-yellow-border{
    font-size: 24px;
    color: #3e3a39;
    border-radius: 10px;
    background-color: #fff;
    border: 1px solid #f6c009;
}

/*数量选择器*/
.numberbox{
    display: inline-block;
    vertical-align: middle;
    font-size: 0;
}

.numberbox .numberbox__input{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 120px;
    padding: 3px 0;
    text-align: center;
    font-size: 15px;
    color: #3e3a39;
    border-radius: 1px;
}

.numberbox .numberbox__input,
.numberbox .numberbox__selector{
    height: 28px;
    border: 1px solid #d8d6d6;
}

.numberbox .numberbox__input{
    border-left: none;
    border-right: none;
}

.numberbox .numberbox__selector{
    font-size: 20px;
    line-height: 18px;
    color: #d8d6d6;
}

.numberbox .numberbox__selector--sub{
    padding: 3px 10px;
    border-radius: 5px 0 0 5px;
    border-right: none;
}

.numberbox .numberbox__selector--plus{
    padding: 3px 8px;
    border-left: none;
    border-radius: 0 5px 5px 0;
}

/*购物车商品失效样式*/
.invalid{
    color: #a9a9a9;
    white-space: nowrap;
}

/*暂无样式*/
.nothing{
    margin: 130px 0;
}

.nothing--cart{
    margin-top: 250px;
}

.nothing .nothing__text{
    margin-top: 10px;
    font-size: 16px;
}

/*验证错误样式*/
.line-alert{
    display: none;
    margin-top: 5px;
    margin-left: 70px;
    text-align: left;
    color: #ff0000;
}

.line-alert i{
    margin-right: 5px;
    vertical-align: -3px;
    font-size: 22px;
}

.main-content .form-group .border-error{ border-color: #ff0000; }

.main-content .form-group .input-error{ color: #ff0000; }

/*密码明文样式*/
.main-content .form-group .ipt-eye{ 
    border-right: none;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.main-content .form-group .input-group-eye{
    padding-right: 12px;
    font-size: 22px;
    border-left: none;
}

.main-content .form-group .input-group-eye i{ 
    font-size: 22px;
    cursor: pointer; 
}


/*首页样式*/
.contest{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-image: url(../../images/bg_index.png);
    background-repeat: no-repeat;
    background-position: center 2px;
    background-size: cover;
}

.contest .contest-title{
    margin-top: 250px;
}

.contest .contest-info{ 
    width: 450px; 
    margin: 46px auto 0;
}

.contest .contest-info p{
    text-align: left;
    line-height: 1.5;
    font-size: 20px;
    color: #fff;
}

.contest .contest-btn{
    margin-top: 76px;
}

.contest .contest-btn a{
    padding: 23px 60px;
    font-size: 30px;
    color: #f0b91c;
    border: 1px solid;
}

.contest .contest-btn a:hover,
.contest .contest-btn a:focus{
    text-decoration: none;
}

/*订单列表样式*/
.table-header tbody>tr>th,
.table-body tbody>tr>td,
.table>tbody+tbody{
  border: none;
}

.table-header{
  background-color: #f0f4f6;
}

.table-body .table-body__header{ background-color: #fff; }

.table-header tbody>tr>th,
.table-body__cont a, 
.table-body__cont p{
  font-size: 18px;
  color: #3e3a39;
}

.table-header,
.table-body__cont p{ 
    margin-bottom: 0; 
}


.table-body__cont .first-status{
    margin-bottom: 10px;
}

.table-header tbody>tr>th{
  text-align: center;
  font-weight: normal;
  border-top: none;
} 

.table-body{ 
  margin-bottom: 0;
} 

.table-body tbody>tr>td{ 
  padding: 15px;
  vertical-align: middle;
} 

.table-body .table-body__header{
  font-size: 15px;
  color: #a9a9a9;
}

.table-body .table-body__header .iconfont{
    vertical-align: middle;
    font-size: 22px;
}

.table-body .table-body__header .header-time{
  margin-left: -25px;
}

.table-body .table-body__cont{
  padding-bottom: 0;
  background-color: #f0f4f6;
}

.table-body__cont .media-body{
  width: auto;
}

.table-body__cont a:hover{
  color: #0e4f94;
}

.table-body__cont .media-left img{
  width: 100px;
  height: 100px;
}

.table-body__cont .media-body .media-heading{
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-top: 5px;
  overflow: hidden;
  line-height: 1.5;
}

.table-body__cont td:last-child{
  border-left: 1px solid #e0dede;
}

.table-body__cont td:last-child p{
    margin-bottom: 10px;
}

.table-body .table-body__cont .user-link{
  color: #0e4f94;
  text-decoration: underline;
}

.table-body .table-body__cont .user-link--alipay{
  padding: 4px 22px; 
  text-decoration: none;
  color: #fff;
  border-radius: 5px;
  background-color: #f6c009;
}

@media (max-width: 992px){
    .star{ top: -100px; }

    .star img{
        width: 276px;
        height: 116px;
    }

    .child{
        top: -36px;
        right: 0;
    }

    .child img{
        width: 81px;
        height: 46px;
    }
}

@media (max-width: 768px) {
    body{ background-size: contain; }

    select.form-control{
        -webkit-appearance: none;
        border: 1px solid #ccc;
        outline: 0;
        background-color: #fff;
    }

    .select-schoool:after, 
    .select-grade:after{
        content: "";
        display: inline-block;
        height: 8px;
        width: 8px;
        border-width: 2px 2px 0 0;
        border-color: #ccc;
        border-style: solid;
        -webkit-transform: rotate(135deg);
                transform: rotate(135deg);
        position: relative;
        top: -2px;
        position: absolute;
        top: 50%;
        right: 12px;
        z-index: 5;
        margin-top: -4px;
    }

    .container{
        padding: 0 20px;
    }

    .main-content{
        max-width: 375px;
        margin-top: 56px;
        margin-bottom: 35px;
        padding-bottom: 60px;
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
    }

    .main-content .main-title{
        padding: 15px 0 15px 36px;
        font-size: 16px;
    }

    .main-content .main-title span{
        border-bottom: none;
    }

    .star{ top: -62px; }

    .star img{
        width: 172px;
        height: 73px;
    }

    .child{ top: -15px; }

    .child img{
        width: 41px;
        height: 23px;
    }

    .planet{
        bottom: -10px;
        left: -20px;
    }

    .planet img{
        width: 83px;
        height: 63px;
    }

    .btn-groups .btn-submit{ font-size: 15px; }

    .logo-bottom{
        position: absolute;
        bottom: 10px;
        left: 0;
        right: 0;
        margin: 0 auto;
    }

    .logo-bottom img{
        width: 90px;
        height: 28px;
    }

    .main-content .form-group .input-group-eye{
        font-size: 17px;
    }
}